package com.cskaoyan.service.wx;

import com.cskaoyan.bean.bo.WxAuthRegisterBo;
import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.bean.vo.WxAuthRegisterVo;
import com.cskaoyan.bean.vo.WxAuthResetBo;

import javax.servlet.http.HttpServletRequest;

/**
 * @author jzp
 * @since 2022/11/22 13:51
 */
public interface WxAuthService {
    /**
     * 描述: 微信端登陆
     *
     * @param username:
     * @param password:
     * @return com.cskaoyan.bean.common.BaseRespVo:
     */
    BaseRespVo login(String username, String password);

    /**
     * 描述: 获取短信
     *
     * @param mobile:
     * @return java.lang.Integer:
     */
    boolean regCaptcha(String mobile);

    /**
     * 描述: 注册
     *
     * @param wxAuthRegisterBo:
     * @return boolean:
     */
    WxAuthRegisterVo register(WxAuthRegisterBo wxAuthRegisterBo, HttpServletRequest request);

    /**
    * 描述: 密码重置
    * @param wxAuthRegisterBo:
    * @return com.cskaoyan.bean.vo.WxAuthRegisterVo:
    */
    Integer reset(WxAuthResetBo wxAuthRegisterBo);

}
